# str3 = "hello world" *1000
# str4 = "hello world" *1000
# print(id(str4))
# print(id(str3))
# print(str3 is str4)
# print(str3 == str4)

# num = int(input("请输入3个整数："))
# a=num // 100
# b=(num //10)%10
# c=num % 10
# n=c*100+b*10+a
# print(a,b,c,n)

# aa = 10
# bb = 50
# aa,bb=bb,aa
# print(aa,bb)

# str1 = "abcdefghijkee"
# print(str1.count('e'))
# url = "https://www.ceshiren.com"
# print(url.startswith("https://"))
# print(url.startswith("https://", 0, 3))
# print(url.startswith("https://", 5, 30))
# print('a b c d'.split())
# print('a b c d'.split('c'))
# print("".join(("a","b","c")))
# print("-".join(("a","b","c")))
# print("->".join(("a","b","c")))
# print("->".join(["a","b","c"]))
# print("->".join({"a","b","c"}))
# print("->".join({"a":"A","b":"B","c":"C"}))



# s = "hello"
# 对字符串进行逆序排序，2种方法
# #方法1
# s="hello"
# h=""
# for i in s:
#     h = i+ h
# print(h)
#
# #方法2
# s = "hello"
# print(s[::-1])
#
# # 第二题：
# story = "Once upon a time, in a land far away, lived a brave knight named Arthur."
# # 统计故事中的单词数量。
# print(len(story.split()))
# # 查找主人公的名字在故事中的位置。
# story_name = "Arthur"
# postion = story.find(story_name)
# print(postion)
# # 将主人公的名字替换为你的名字。
# my_name = "LYP"
# print(story.replace(story_name,my_name))
# # 将故事改写为大写和小写形式。
# print(story.upper())
# print(story.lower())
# print(story.title())

#
# name = "老刘"
# gender = "未知"
# heigth=165.3333
# print(f'他的名字：{name},性别：{gender},身高：{heigth:.2f}')

#100以内偶数
l=[]
for i in range(10,101):
    if i % 2 ==0:
        l.append(i)
print(l)